gtk4.git
8 years agoFrame: Enhance CSS docs
Daniel Boles [Mon, 2 Oct 2017 18:27:16 +0000 (19:27 +0100)]
Frame: Enhance CSS docs

Indicate how the old shadow types are replaced by CSS border-style et
al., and quote the names of nodes and classes for easier readability.

8 years agoimcontext: Fix typo on ctrl+shift+u hex sequences handling
Carlos Garnacho [Mon, 2 Oct 2017 16:11:53 +0000 (18:11 +0200)]
imcontext: Fix typo on ctrl+shift+u hex sequences handling

This condition was meant to exit when the event has no keyval (eg. fed a
non-keyboard event somehow).

8 years agosnapshot: Fix mixup when creating crossfade nodes
Timm Bäder [Mon, 2 Oct 2017 13:25:44 +0000 (15:25 +0200)]
snapshot: Fix mixup when creating crossfade nodes

We need to set the progress on the end node.

8 years agosnapshot: Use one GPtrArray for all nodes
Timm Bäder [Sun, 1 Oct 2017 12:28:11 +0000 (14:28 +0200)]
snapshot: Use one GPtrArray for all nodes

Instead of creating one GPtrArray per GtkSnapshotState and saving nodes
in there, create one GPtrArray per snapshot and assign a
start_node_index to every GtkSnapshotState as well as a n_nodes variable
so every state knows which nodes belong to it.

8 years agosnapshot: Use one large GArray for all states
Timm Bäder [Sun, 1 Oct 2017 11:49:01 +0000 (13:49 +0200)]
snapshot: Use one large GArray for all states

Allocating all of them separately shows up in profiles.

8 years agogtkroundedbox: Remove some unneeded conditionals
Timm Bäder [Sun, 1 Oct 2017 07:48:31 +0000 (09:48 +0200)]
gtkroundedbox: Remove some unneeded conditionals

Always pass exactly 4 GtkCssValue* parameters to apply_border_radius
and make sure they are properly const.

8 years agoStart reftests for gsk
Matthias Clasen [Mon, 2 Oct 2017 04:18:08 +0000 (00:18 -0400)]
Start reftests for gsk

Add a framework similar to what we have for gtk reftests
that lets us drop in a function to generate render nodes,
and compare reference output.

8 years agoCreate tests for gsk box shadows
Matthias Clasen [Mon, 2 Oct 2017 02:55:32 +0000 (22:55 -0400)]
Create tests for gsk box shadows

8 years agoCreate tests for GskTextNode
Matthias Clasen [Mon, 2 Oct 2017 02:09:43 +0000 (22:09 -0400)]
Create tests for GskTextNode

8 years agoClip intermediate textures
Matthias Clasen [Sun, 1 Oct 2017 23:17:39 +0000 (19:17 -0400)]
Clip intermediate textures

In some cases, we were creating gigantic intermediate textures
only to clip out a small section afterwards (e.g. in the listbox
example in gtk4-demo). This is wasteful if we apply effects on
the texture, such as blur or color-matrix. So, clip the dimensions
of the intermediate texture with the current clip. To make this
feasible, we move the texture coordinate computation out of the
pipeline setup functions into the node_as_texture function where
this clipping happens.

One extra complication we encounter is that the node might get
clipped away completely. Since Vulkan does not allow to create
empty images, we bail out in this case and not draw anything.

With these changes, the listbox example in gtk4-demo goes from
32M pixels of intermediate texture to 320000.

8 years agostylecontext: Drop priv pointer
Timm Bäder [Sat, 30 Sep 2017 18:49:26 +0000 (20:49 +0200)]
stylecontext: Drop priv pointer

8 years agospinner: Remove priv pointer
Timm Bäder [Sat, 30 Sep 2017 18:06:30 +0000 (20:06 +0200)]
spinner: Remove priv pointer

8 years agoswitch: Remove priv pointer
Timm Bäder [Sat, 30 Sep 2017 17:34:10 +0000 (19:34 +0200)]
switch: Remove priv pointer

8 years agolabel: Remove priv pointer
Timm Bäder [Sat, 30 Sep 2017 16:48:11 +0000 (18:48 +0200)]
label: Remove priv pointer

8 years agoimage: Remove some unneeded includes
Timm Bäder [Sat, 30 Sep 2017 15:59:44 +0000 (17:59 +0200)]
image: Remove some unneeded includes

8 years agoimage: Remove priv pointer
Timm Bäder [Sat, 30 Sep 2017 15:58:29 +0000 (17:58 +0200)]
image: Remove priv pointer

Look at all the free ram!

8 years agoiconhelper: Don't inherit from GObject
Timm Bäder [Sat, 30 Sep 2017 15:26:42 +0000 (17:26 +0200)]
iconhelper: Don't inherit from GObject

It's not a GtkCssGadget anymore, it doesn't have any properties or
signals either and it's not public. Further, its lifetime is very clear
the way it's being used inside GTK+.

8 years agocssshadowsvalue: Don't heap-allocate shadows
Timm Bäder [Sat, 30 Sep 2017 11:11:51 +0000 (13:11 +0200)]
cssshadowsvalue: Don't heap-allocate shadows

This showed up in profiles in certain scenarios, so export a
_get_n_shadows getter instead and let callers provide a sufficiently
large allocated array of GskShadows, which we can use with
g_alloc/g_newa.

8 years agoswitch: Remove some unneeded includes
Timm Bäder [Sat, 30 Sep 2017 10:57:21 +0000 (12:57 +0200)]
switch: Remove some unneeded includes

8 years agoAdd a forgotten rename
Matthias Clasen [Sat, 30 Sep 2017 21:57:36 +0000 (17:57 -0400)]
Add a forgotten rename

When I renamed blend to texture, I overlooked that the color
text pipeline also uses this shader. Fix it.

8 years agoReshuffle things a little bit
Matthias Clasen [Sat, 30 Sep 2017 15:04:16 +0000 (11:04 -0400)]
Reshuffle things a little bit

Instead of having a function with lots of arguments in
GskVulkanRender that we call from GskVulkanRenderPass which
then just calls back into GskVulkanRenderPass, just create
the new render pass object locally, and an api to add it
to the list that GskVulkanRender keeps. This makes it
a lot easier to preserve all the relevant parameters from
the parent render pass.

8 years agoSmall simplification
Matthias Clasen [Sat, 30 Sep 2017 14:42:32 +0000 (10:42 -0400)]
Small simplification

Just keep the viewport as a graphene_rect_t, we don't need
to use the Vulkan type here.

8 years agovulkan: Add a counter for intermediate textures
Matthias Clasen [Sat, 30 Sep 2017 14:39:04 +0000 (10:39 -0400)]
vulkan: Add a counter for intermediate textures

Count how many pixels of intermediate textures we create.
If we can count it, we can optimize it.

8 years agoCosmetics
Matthias Clasen [Sat, 30 Sep 2017 14:37:55 +0000 (10:37 -0400)]
Cosmetics

Factor out a helper function.

8 years agoFix a doc comment
Matthias Clasen [Sat, 30 Sep 2017 03:29:33 +0000 (23:29 -0400)]
Fix a doc comment

It was missing a return.

8 years agoinspector: GSK_IS_RENDER_NODE() does NULL-check
Benjamin Otte [Sat, 30 Sep 2017 18:23:11 +0000 (20:23 +0200)]
inspector: GSK_IS_RENDER_NODE() does NULL-check

That means we don't need an extra one just so gcc can complain.

8 years agoSupport repeat nodes in vulkan
Matthias Clasen [Sat, 30 Sep 2017 02:41:00 +0000 (22:41 -0400)]
Support repeat nodes in vulkan

We can use the texture pipeline for this, with a repeating sampler.

8 years agovulkan: Add a repeating sampler
Matthias Clasen [Sat, 30 Sep 2017 03:01:34 +0000 (23:01 -0400)]
vulkan: Add a repeating sampler

None of the render ops use it, yet.

8 years agovulkan: Move sampler creation down
Matthias Clasen [Sat, 30 Sep 2017 02:38:59 +0000 (22:38 -0400)]
vulkan: Move sampler creation down

This is in preparation of allowing multiple samplers.

8 years agovulkan: Rename blend pipeline to texture
Matthias Clasen [Sat, 30 Sep 2017 02:24:53 +0000 (22:24 -0400)]
vulkan: Rename blend pipeline to texture

This is what it does, and the name blend is easily
confused with blend-mode.

8 years agovulkan: Allow to control scaling in the blend pipeline
Matthias Clasen [Sat, 30 Sep 2017 02:07:30 +0000 (22:07 -0400)]
vulkan: Allow to control scaling in the blend pipeline

Pass in a second rect that defines the size of the texture.
Update the sole caller to pass in the same rect, for unchanged
behavior.

8 years agovulkan: Fix setup for dependent render passes
Matthias Clasen [Fri, 29 Sep 2017 19:45:37 +0000 (15:45 -0400)]
vulkan: Fix setup for dependent render passes

We were not correctly preserving the modelview transform.

8 years agodocs: css-properties: Fix wrongly repeated colour
Daniel Boles [Fri, 29 Sep 2017 17:13:44 +0000 (18:13 +0100)]
docs: css-properties: Fix wrongly repeated colour

8 years agotestsuite: Add test case for previous commit
Timm Bäder [Fri, 29 Sep 2017 10:16:06 +0000 (12:16 +0200)]
testsuite: Add test case for previous commit

This previously led to a loop in the child widgets.

8 years agowidget: Fix inserting child widgets at the beginning
Timm Bäder [Fri, 29 Sep 2017 10:15:23 +0000 (12:15 +0200)]
widget: Fix inserting child widgets at the beginning

We have to care about the child widget's current prev/next sibling as
well.

8 years agobuild: Add widgetorder unit test to build system
Timm Bäder [Fri, 29 Sep 2017 10:10:42 +0000 (12:10 +0200)]
build: Add widgetorder unit test to build system

8 years agobox: Remove return value from box_pack
Timm Bäder [Fri, 29 Sep 2017 08:50:33 +0000 (10:50 +0200)]
box: Remove return value from box_pack

Unused.

8 years agobox: Remove size_allocate_no_center
Timm Bäder [Fri, 29 Sep 2017 08:49:41 +0000 (10:49 +0200)]
box: Remove size_allocate_no_center

GtkBox never has a center widget these days.

8 years agoadwaita: Remove outlines from focused entries for now
Timm Bäder [Fri, 29 Sep 2017 07:23:56 +0000 (09:23 +0200)]
adwaita: Remove outlines from focused entries for now

8 years agoRecorder: Add details for inset and outset shadow nodes
Matthias Clasen [Fri, 29 Sep 2017 01:41:24 +0000 (21:41 -0400)]
Recorder: Add details for inset and outset shadow nodes

8 years agogsk: Fix a typo
Matthias Clasen [Fri, 29 Sep 2017 01:06:52 +0000 (21:06 -0400)]
gsk: Fix a typo

Repeating linear gradient nodes share most of the implementation
with linear gradient nodes, but they shouldn't share the class name.

8 years agoRecorder: Show details about linear gradient nodes
Matthias Clasen [Fri, 29 Sep 2017 01:06:35 +0000 (21:06 -0400)]
Recorder: Show details about linear gradient nodes

8 years agoRecorder: Show details of blur nodes
Matthias Clasen [Thu, 28 Sep 2017 23:48:42 +0000 (19:48 -0400)]
Recorder: Show details of blur nodes

8 years agorecorder: Show details for blend nodes
Matthias Clasen [Thu, 28 Sep 2017 23:40:03 +0000 (19:40 -0400)]
recorder: Show details for blend nodes

8 years agogsk: remove gsk_blend_node_get_blend_mode from public api
Matthias Clasen [Thu, 28 Sep 2017 23:39:16 +0000 (19:39 -0400)]
gsk: remove gsk_blend_node_get_blend_mode from public api

We don't have any other such getters in the public api at
this point, so leave this one out as well.

8 years agoRecorder: Show details of crossfade nodes
Matthias Clasen [Thu, 28 Sep 2017 23:20:25 +0000 (19:20 -0400)]
Recorder: Show details of crossfade nodes

8 years agorecorder: Show details for opacity nodes
Matthias Clasen [Thu, 28 Sep 2017 23:14:32 +0000 (19:14 -0400)]
recorder: Show details for opacity nodes

8 years agoRecorder: Show details of border nodes
Matthias Clasen [Thu, 28 Sep 2017 22:58:18 +0000 (18:58 -0400)]
Recorder: Show details of border nodes

8 years agorecorder: Put text color in the right row
Matthias Clasen [Thu, 28 Sep 2017 22:41:39 +0000 (18:41 -0400)]
recorder: Put text color in the right row

It ended up in the wrong place by accident.

8 years agoRecorder: Show colors visually for text too
Matthias Clasen [Thu, 28 Sep 2017 22:37:47 +0000 (18:37 -0400)]
Recorder: Show colors visually for text too

Just because we can do it.

8 years agoReshuffle the recorder ui a bit
Matthias Clasen [Thu, 28 Sep 2017 22:37:00 +0000 (18:37 -0400)]
Reshuffle the recorder ui a bit

Make it possible to see the properties and the rendering at
the same time, it makes navigating easier.

8 years agorecorder: Show surfaces and textures
Matthias Clasen [Thu, 28 Sep 2017 22:17:38 +0000 (18:17 -0400)]
recorder: Show surfaces and textures

This makes the properties list much more interesting.

8 years agorecorder: Show text node properties
Matthias Clasen [Thu, 28 Sep 2017 21:16:41 +0000 (17:16 -0400)]
recorder: Show text node properties

8 years agorecorder: show color information for color nodes
Matthias Clasen [Thu, 28 Sep 2017 19:08:08 +0000 (15:08 -0400)]
recorder: show color information for color nodes

A first step towards showing more information for render nodes.

8 years agoPlug some memory leaks
Timm Bäder [Thu, 28 Sep 2017 18:00:24 +0000 (20:00 +0200)]
Plug some memory leaks

Make sure the scroll controllers in GtkComboBox and GtkScrolledWindow
get destroyed.

8 years agoGdkEvent: OWNER_CHANGE events have a selection as well
Timm Bäder [Tue, 26 Sep 2017 16:22:27 +0000 (18:22 +0200)]
GdkEvent: OWNER_CHANGE events have a selection as well

8 years agoGdkEvent: Unref user_data in free
Timm Bäder [Tue, 26 Sep 2017 10:49:32 +0000 (12:49 +0200)]
GdkEvent: Unref user_data in free

gdk_event_set_user_data refs it and this was creating pretty bad leaks.

8 years agovulkan: Measure gpu time
Matthias Clasen [Thu, 28 Sep 2017 14:27:58 +0000 (10:27 -0400)]
vulkan: Measure gpu time

Since this value is only meaningful if we wait for the rendering
to end, we only keep this timer if GSK_RENDERING_MODE=sync is
enabled.

8 years agogsk: Change the profiler setup
Matthias Clasen [Thu, 28 Sep 2017 14:26:01 +0000 (10:26 -0400)]
gsk: Change the profiler setup

Move away from the idea of intra-frame sampling, since we only
push samples once per frame, anyway. Instead, make the profiler
keep a rolling average of the last n frames.

8 years agogsk: Redo the sampling in the profiler
Matthias Clasen [Thu, 28 Sep 2017 14:23:12 +0000 (10:23 -0400)]
gsk: Redo the sampling in the profiler

Reset the min/max/average counters before calculating,
and only print the values if we have samples. In addition,
print the number of samples.

8 years agogsk: Add a profile counter for vulkan render passes
Matthias Clasen [Thu, 28 Sep 2017 12:29:14 +0000 (08:29 -0400)]
gsk: Add a profile counter for vulkan render passes

This is interesting now that we have multiple render passes.

8 years agovulkan: Implement multiple render passes
Matthias Clasen [Thu, 28 Sep 2017 00:56:01 +0000 (20:56 -0400)]
vulkan: Implement multiple render passes

Whenever we need a node as a texture, we now start a new render
pass that renders the node into a new intermediate texture, and
set up a semaphore to make the current render pass wait for it.

As part of this reorganization, much of the setup and drawing
code moved from gskvulkanrender.c to gskvulkanrenderpass.c.

8 years agoAdd an api to get the vertex data for a render pass
Matthias Clasen [Thu, 28 Sep 2017 00:55:14 +0000 (20:55 -0400)]
Add an api to get the vertex data for a render pass

8 years agoAdd semaphores to the command buffer submit api
Matthias Clasen [Thu, 28 Sep 2017 00:09:35 +0000 (20:09 -0400)]
Add semaphores to the command buffer submit api

Allow to pass in semaphores to wait for before executing
and to signal after executing the command buffer. This
just exposes the capabilities of the underlying Vulkan
api. Update all callers to pass no semaphores, for now.

We will use this in the future.

8 years agoAdd an api to create intermediate textures
Matthias Clasen [Tue, 26 Sep 2017 23:12:20 +0000 (19:12 -0400)]
Add an api to create intermediate textures

The new function creates a vulkan image that is suitable for
use as a framebuffer to render to and as a texture to read from.

8 years agoinspector: Mark missing strings for translation
Piotr Drąg [Thu, 28 Sep 2017 12:01:57 +0000 (14:01 +0200)]
inspector: Mark missing strings for translation

8 years agoflowbox: Fix annotation for GListModel binding callback
Sam Thursfield [Mon, 25 Sep 2017 13:42:46 +0000 (14:42 +0100)]
flowbox: Fix annotation for GListModel binding callback

The GtkFlowBoxCreateWidgetFunc type lacked GObject Introspection
annotations for its arguments. This made gtk_flow_box_bind_model()
unusable from Python as the callback function would be passed useless
values.

The annotations that I've added match those of the similar callback
type GtkListBoxCreateWidgetFunc.

https://bugzilla.gnome.org/show_bug.cgi?id=780758

8 years agovulkan: Update the outset-shadow fragment shaders
Matthias Clasen [Tue, 26 Sep 2017 22:24:52 +0000 (18:24 -0400)]
vulkan: Update the outset-shadow fragment shaders

These were missing the blur-radius parameter that is written
by the vertex shader, causing Vulkan validation to complain.

8 years agogsk: Fix Vulkan validation errors for image upload
Matthias Clasen [Tue, 26 Sep 2017 22:18:31 +0000 (18:18 -0400)]
gsk: Fix Vulkan validation errors for image upload

I've finally figured out the right combination of src and dest
stage and access flags to make all validation warnings go away.
This commit only fixes the direct upload code.

8 years agogdk: Tone down Vulkan validation
Matthias Clasen [Tue, 26 Sep 2017 22:17:27 +0000 (18:17 -0400)]
gdk: Tone down Vulkan validation

Don't show informational messages by default, only warnings
and errors. This makes it much easier to see what is going
on.

8 years agogdk-wayland: Do not leak dummy 1x1 surface on every draw
Daniel Elstner [Tue, 26 Sep 2017 19:13:40 +0000 (21:13 +0200)]
gdk-wayland: Do not leak dummy 1x1 surface on every draw

When using EGL, neither leak nor re-create the dummy 1x1 Cairo
surface every time gdk_wayland_window_ensure_cairo_surface()
is called.

https://bugzilla.gnome.org/show_bug.cgi?id=775126

8 years agogsk: report fallback pixels as a profile counter
Matthias Clasen [Tue, 26 Sep 2017 01:02:21 +0000 (21:02 -0400)]
gsk: report fallback pixels as a profile counter

This makes the value show up in the inspector without
any extra work. We report the number per-frame, since
that makes the most sense.

8 years agogsk: Add a way to reset profiler counters
Matthias Clasen [Tue, 26 Sep 2017 00:58:10 +0000 (20:58 -0400)]
gsk: Add a way to reset profiler counters

It is often useful to count things per-frame, and reset
the counter afterwards.

8 years agovulkan: add a frame counter to the profiler
Matthias Clasen [Mon, 25 Sep 2017 22:37:22 +0000 (18:37 -0400)]
vulkan: add a frame counter to the profiler

This is just to match the gl renderer and to learn how
counters work.

8 years agoFix a typo
Matthias Clasen [Mon, 25 Sep 2017 21:53:54 +0000 (17:53 -0400)]
Fix a typo

8 years agogsk: Make profiler counters more useful
Matthias Clasen [Mon, 25 Sep 2017 21:03:06 +0000 (17:03 -0400)]
gsk: Make profiler counters more useful

Make it possible to have counters that get incremented
by values other than 1.

8 years agogsk: count fallback pixels
Matthias Clasen [Mon, 25 Sep 2017 13:25:29 +0000 (09:25 -0400)]
gsk: count fallback pixels

Always helps to have some measure of progress.

8 years agoGtkBuilder: Enforce "class" as a mandatory attribute for <object>
Debarshi Ray [Mon, 18 Sep 2017 16:28:55 +0000 (18:28 +0200)]
GtkBuilder: Enforce "class" as a mandatory attribute for <object>

https://bugzilla.gnome.org/show_bug.cgi?id=786931

8 years agogsk: Some g-i annotation fixes
Rico Tzschichholz [Mon, 25 Sep 2017 09:15:14 +0000 (11:15 +0200)]
gsk: Some g-i annotation fixes

8 years agogsk: Documentation additions
Matthias Clasen [Mon, 25 Sep 2017 01:53:54 +0000 (21:53 -0400)]
gsk: Documentation additions

Document newly added apis, and ensure that all public apis
are listed in the docs.

8 years agoPlug a memory leak
Matthias Clasen [Mon, 25 Sep 2017 01:34:53 +0000 (21:34 -0400)]
Plug a memory leak

A function with ensure in the name would better check if the
thing it is supposed to ensure already exists.

8 years agoLabel: Replace allow-none with nullable/optional
Daniel Boles [Sun, 24 Sep 2017 11:02:54 +0000 (12:02 +0100)]
Label: Replace allow-none with nullable/optional

8 years agoemojichooser: Plug a memory leak
Timm Bäder [Sun, 24 Sep 2017 16:15:41 +0000 (18:15 +0200)]
emojichooser: Plug a memory leak

8 years agoFix broken translations of 'calendar:' settings (ignored translator comments)
Andre Klapper [Sat, 23 Sep 2017 21:42:31 +0000 (23:42 +0200)]
Fix broken translations of 'calendar:' settings (ignored translator comments)

8 years agogsk: Fix a prefix mishap
Matthias Clasen [Sat, 23 Sep 2017 17:15:30 +0000 (13:15 -0400)]
gsk: Fix a prefix mishap

There shouldn't be any gst_ functions in here...

8 years agoCosmetics
Matthias Clasen [Sat, 23 Sep 2017 13:47:05 +0000 (09:47 -0400)]
Cosmetics

Go back to a single GskVulkanOpRender that can
handle 0, 1 or 2 sources.

8 years agovulkan: Implement nonseparable blendmodes
Matthias Clasen [Sat, 23 Sep 2017 12:59:06 +0000 (08:59 -0400)]
vulkan: Implement nonseparable blendmodes

This is a directly-from-the-spec, unoptimized implementation.

8 years agovulkan: Implement blend modes
Matthias Clasen [Sat, 23 Sep 2017 05:59:50 +0000 (01:59 -0400)]
vulkan: Implement blend modes

This is another example for a 2-texture shader.
So far, only separable blend modes are implemented.
The implementation is not optimized, with an
if-else cascade in the shader.

8 years agovulkan: fix a clip handling problem
Matthias Clasen [Fri, 22 Sep 2017 22:48:36 +0000 (18:48 -0400)]
vulkan: fix a clip handling problem

We were looking at uninitialized memory here, instead
of the type of the source clip, as we should.

This showed up as mispositioned clip in the first frame
of a crossfade stack transition, and also as overdraw in
sliding stack transitions.

8 years agovulkan: Implement crossfade
Matthias Clasen [Fri, 22 Sep 2017 18:20:57 +0000 (14:20 -0400)]
vulkan: Implement crossfade

This is the first shader using two textures. It almost works.

8 years agovulkan: Drop GskVulkanPipelineLayout
Matthias Clasen [Fri, 22 Sep 2017 17:30:26 +0000 (13:30 -0400)]
vulkan: Drop GskVulkanPipelineLayout

We already move the descriptor set layout out of it,
so we can just as well keep the pipeline layouts in
the render object as well, and get rid of this extra
object. Update all callers.

8 years agoAllow different pipeline layouts
Matthias Clasen [Fri, 22 Sep 2017 14:35:19 +0000 (10:35 -0400)]
Allow different pipeline layouts

These are differentiated by the number of textures; currently
we have shaders with 0 and 1 textures.

8 years agoAdd a getter to the pipeline layout directly from the pipeline
Matthias Clasen [Fri, 22 Sep 2017 14:13:25 +0000 (10:13 -0400)]
Add a getter to the pipeline layout directly from the pipeline

This is a step towards allowing multiple pipeline layouts.

8 years agovulkan: Move descriptor set layout to the render object
Matthias Clasen [Fri, 22 Sep 2017 14:02:27 +0000 (10:02 -0400)]
vulkan: Move descriptor set layout to the render object

We want to maintain a single descriptor set layout while introducing
multiple pipeline layouts, so split this off.

8 years agoUpdate Persian translations
Arash Mousavi [Fri, 22 Sep 2017 19:24:21 +0000 (22:54 +0330)]
Update Persian translations

8 years agogdk: Add g-i annotations for new event getters
Rico Tzschichholz [Thu, 21 Sep 2017 12:07:11 +0000 (14:07 +0200)]
gdk: Add g-i annotations for new event getters

8 years agoFix a typo
Matthias Clasen [Fri, 22 Sep 2017 00:31:48 +0000 (20:31 -0400)]
Fix a typo

8 years agoDrop gail-4.0.pc.in
Emilio Pozuelo Monfort [Thu, 21 Sep 2017 18:34:26 +0000 (20:34 +0200)]
Drop gail-4.0.pc.in

libgail is gone.

8 years agogsk: vulkan: Drop an unused api
Matthias Clasen [Thu, 21 Sep 2017 17:47:17 +0000 (13:47 -0400)]
gsk: vulkan: Drop an unused api

We don't use the upload-single-region api anymore.
No need to keep it around.

8 years agovulkan: Batch uploads from the glyph cache
Matthias Clasen [Thu, 21 Sep 2017 17:45:01 +0000 (13:45 -0400)]
vulkan: Batch uploads from the glyph cache

This uses the new api that was introduced in the previous
commit.